Skip to content

Conversation

@Mohit-Raj-Saxena
Copy link

Adds cross-references to the File modes section from methods that use the mode parameter, improving discoverability of file permission documentation.

Changes

  • Added [File modes][] links in fsPromises.open(), fsPromises.mkdir(), and fs.mkdir() parameter documentation
  • Added [File modes]: #file-modes link reference

Motivation

Previously, developers using methods with mode parameters (like 0o666, 0o777) had to manually search for the File modes table. This change provides direct links to the relevant documentation.

Fixes #60280

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels Oct 16, 2025
@Mohit-Raj-Saxena
Copy link
Author

Friendly ping @nodejs/documentation 👋

Would appreciate any feedback on this when you have a chance! Happy to make any changes if needed.

Thanks for your time!

@Mohit-Raj-Saxena
Copy link
Author

Bumping this after 3 weeks - would really appreciate any feedback! 🙂

A
doc: add File modes cross-references in fs methods

Adds links to the File modes section from fsPromises.open(),
fsPromises.mkdir(), and fs.mkdir() to improve discoverability
of file permission documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple Documentation Issues in fs and fs/promises Modules (Formatting, Consistency, and Clarity)

2 participants